#include "Point.h"
#include <iomanip>
int main() {
	Point p1(3, 4);
	p1.printf();
	cout << "x= " << p1.getX() << endl;
	cout << "y= " << p1.getY() << endl;
	cout << fixed << setprecision(2);
	cout << "mag = " << p1.getMagnitude() << endl;
	cout << "arg = " << p1.getArgument() << endl;
	p1.setX(6);
	p1.setY(8);
	p1.printf();
	p1.setXY(1, 2);
	p1.printf();
	Point p2;
	p1.printf();
	system("pause");
	return 0;

}